package com.example.g5project.chat.model.param;

import com.example.g5project.chat.model.enumeration.IdentityEnum;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AccountImportParam {

    @ApiModelProperty("账号主键id")
    private Integer userId;

    /**
     * @see IdentityEnum id
     */
    @ApiModelProperty("发送者身份, 0:管理员 1:访客 2:咨询师 3:督导")
    @NotNull(message = "发送者身份不可为空")
    @Min(value = 0, message = "发送者身份参数最小为1")
    @Max(value = 3, message = "发送者身份参数最大为3")
    private Integer userIdentity;

}
